package com.ruoyi.tianliangedu.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 课程管理对象 tianliang_course
 *
 * @author lsj
 * @date 2021-07-12
 */
public class TianliangCourse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 课程id
     */
    private Long courseId;

    /**
     * 专题分类
     */
    private String courseSubName;

    /**
     * 课程名称
     */
    @Excel(name = "课程名称")
    private String courseName;

    /**
     * 课程副标题
     */
    private String courseOtherName;

    /**
     * 课程简介
     */
    private String courseText;

    /**
     * 课程难度(0是简单,1是一般,2是困难,3是地狱,4是深渊)
     */
    private Integer courseDifficulty;

    /**
     * 是否打折(0是原价,1是打折)
     */
    @Excel(name = "是否打折(0是原价,1是打折)")
    private Integer courseDiscount;

    /**
     * 商品价格
     */
    @Excel(name = "商品价格")
    private BigDecimal coursePrice;

    /**
     * 打折价格
     */
    @Excel(name = "打折价格")
    private BigDecimal courseNewPrice;

    /**
     * 打折描述
     */
    @Excel(name = "打折描述")
    private String courseNewPriceText;

    /**
     * 排序
     */
    private Long courseSort;

    /**
     * 是否轮播(0是是,1是否)
     */
    private Integer courseCarousel;

    /**
     * 是否精品推荐(0是是,1是否)
     */
    private Integer courseBoutique;

    /**
     * 是否免费(0是是,1是否)
     */
    @Excel(name = "是否免费(0是是,1是否)")
    private Integer courseFree;

    /**
     * 是否对外(0是是,1是否)
     */
    @Excel(name = "是否对外(0是是,1是否)")
    private Integer courseForeign;

    /**
     * 封面上传
     */
    private String courseCover;

    /**
     * 轮播图
     */
    private String courseSlideshow;

    /**
     * 是否展示详情(0是是,1是否)
     */
    private Integer courseDetails;

    /**
     * 详情介绍,文件上传
     */
    private String courseDetailsChick;

    /**
     * 播放量
     */
    private Long courseShow;

    /**
     * 是否上线(0是上线,1是下线)
     */
    private Integer courseState;

    /**
     * 备注
     */
    private String courseOtherText;

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getCourseSubName() {
        return courseSubName;
    }

    public void setCourseSubName(String courseSubName) {
        this.courseSubName = courseSubName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseOtherName() {
        return courseOtherName;
    }

    public void setCourseOtherName(String courseOtherName) {
        this.courseOtherName = courseOtherName;
    }

    public String getCourseText() {
        return courseText;
    }

    public void setCourseText(String courseText) {
        this.courseText = courseText;
    }

    public Integer getCourseDifficulty() {
        return courseDifficulty;
    }

    public void setCourseDifficulty(Integer courseDifficulty) {
        this.courseDifficulty = courseDifficulty;
    }

    public Integer getCourseDiscount() {
        return courseDiscount;
    }

    public void setCourseDiscount(Integer courseDiscount) {
        this.courseDiscount = courseDiscount;
    }

    public BigDecimal getCoursePrice() {
        return coursePrice;
    }

    public void setCoursePrice(BigDecimal coursePrice) {
        this.coursePrice = coursePrice;
    }

    public BigDecimal getCourseNewPrice() {
        return courseNewPrice;
    }

    public void setCourseNewPrice(BigDecimal courseNewPrice) {
        this.courseNewPrice = courseNewPrice;
    }

    public String getCourseNewPriceText() {
        return courseNewPriceText;
    }

    public void setCourseNewPriceText(String courseNewPriceText) {
        this.courseNewPriceText = courseNewPriceText;
    }

    public Long getCourseSort() {
        return courseSort;
    }

    public void setCourseSort(Long courseSort) {
        this.courseSort = courseSort;
    }

    public Integer getCourseCarousel() {
        return courseCarousel;
    }

    public void setCourseCarousel(Integer courseCarousel) {
        this.courseCarousel = courseCarousel;
    }

    public Integer getCourseBoutique() {
        return courseBoutique;
    }

    public void setCourseBoutique(Integer courseBoutique) {
        this.courseBoutique = courseBoutique;
    }

    public Integer getCourseFree() {
        return courseFree;
    }

    public void setCourseFree(Integer courseFree) {
        this.courseFree = courseFree;
    }

    public Integer getCourseForeign() {
        return courseForeign;
    }

    public void setCourseForeign(Integer courseForeign) {
        this.courseForeign = courseForeign;
    }

    public String getCourseCover() {
        return courseCover;
    }

    public void setCourseCover(String courseCover) {
        this.courseCover = courseCover;
    }

    public String getCourseSlideshow() {
        return courseSlideshow;
    }

    public void setCourseSlideshow(String courseSlideshow) {
        this.courseSlideshow = courseSlideshow;
    }

    public Integer getCourseDetails() {
        return courseDetails;
    }

    public void setCourseDetails(Integer courseDetails) {
        this.courseDetails = courseDetails;
    }

    public String getCourseDetailsChick() {
        return courseDetailsChick;
    }

    public void setCourseDetailsChick(String courseDetailsChick) {
        this.courseDetailsChick = courseDetailsChick;
    }

    public Long getCourseShow() {
        return courseShow;
    }

    public void setCourseShow(Long courseShow) {
        this.courseShow = courseShow;
    }

    public Integer getCourseState() {
        return courseState;
    }

    public void setCourseState(Integer courseState) {
        this.courseState = courseState;
    }

    public String getCourseOtherText() {
        return courseOtherText;
    }

    public void setCourseOtherText(String courseOtherText) {
        this.courseOtherText = courseOtherText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("courseId", getCourseId())
                .append("courseSubName", getCourseSubName())
                .append("courseName", getCourseName())
                .append("courseOtherName", getCourseOtherName())
                .append("courseText", getCourseText())
                .append("courseDifficulty", getCourseDifficulty())
                .append("courseDiscount", getCourseDiscount())
                .append("coursePrice", getCoursePrice())
                .append("courseNewPrice", getCourseNewPrice())
                .append("courseNewPriceText", getCourseNewPriceText())
                .append("courseSort", getCourseSort())
                .append("courseCarousel", getCourseCarousel())
                .append("courseBoutique", getCourseBoutique())
                .append("courseFree", getCourseFree())
                .append("courseForeign", getCourseForeign())
                .append("courseCover", getCourseCover())
                .append("courseSlideshow", getCourseSlideshow())
                .append("courseDetails", getCourseDetails())
                .append("courseDetailsChick", getCourseDetailsChick())
                .append("courseShow", getCourseShow())
                .append("courseState", getCourseState())
                .append("courseOtherText", getCourseOtherText())
                .toString();
    }
}
